package DataModel
{
	public class CaseHistory
	{
		//
		// Key fields
		//
		public var m_CaseID:String;
		
		//
		// Data Fields
		//
		
		public var m_Date:Date;
 		public var m_AssignedTo:String;
		public var m_CaseTypeID:String;
		public var m_CreatedDate:Date;
		public var m_ECNo:String;
		public var m_ModifiedBy:String;
		public var m_hasChanged:Boolean;
		
		public function CaseHistory(	DateNew:Date,
										CaseID:String,
										AssignedTo:String, 
										CaseTypeID:String,
										CreatedDate:Date,
										ECNo:String,
										ModifiedBy:String,
										hasChanged:Boolean):void
		{
			m_Date = DateNew;
			m_CaseID = CaseID;
			m_AssignedTo = AssignedTo;
			m_CaseTypeID = CaseTypeID;
			m_CreatedDate = CreatedDate;
			m_ECNo = ECNo;
			m_ModifiedBy = ModifiedBy;
			m_hasChanged = hasChanged;
		}
		
		public function get DateNew():Date
		{
			return m_Date;
		}
		
		public function set DateNew(dateVal:Date):void
		{
			m_Date = dateVal;
			SkillsAuditDocument.instance.dirtyForm = true;
		}
		
		public function get ModifiedBy():String
		{
			return m_ModifiedBy;
		}
		
		public function set ModifiedBy(strVal:String):void
		{
			m_ModifiedBy = strVal;
			SkillsAuditDocument.instance.dirtyForm = true;
		}
		
		public function get ECNo():String
		{
			return m_ECNo;
		}
		
		public function set ECNo(strVal:String):void
		{
			m_ECNo = strVal;
			SkillsAuditDocument.instance.dirtyForm = true;
		}
		
		public function get CreatedDate():Date
		{
			return m_CreatedDate;
		}

		public function set CreatedDate(dateVal:Date):void
		{
			m_CreatedDate = dateVal;
			SkillsAuditDocument.instance.dirtyForm = true;
		}

		public function get CaseID():String
		{
			return m_CaseID;
		}
		
		public function set CaseID(strVal:String):void
		{
			m_CaseID = strVal;
			SkillsAuditDocument.instance.dirtyForm = true;
		}
		
		public function get AssignedTo():String
		{
			return m_AssignedTo;
		}

		public function set AssignedTo(strVal:String):void
		{
			m_AssignedTo = strVal;
			SkillsAuditDocument.instance.dirtyForm = true;
		}

		public function get CaseTypeID():String
		{
			return m_CaseTypeID;
		}
		
		public function set CaseTypeID(strVal:String):void
		{
			m_CaseTypeID = strVal;
			SkillsAuditDocument.instance.dirtyForm = true;
		}
		
		public function get hasChanged():Boolean
		{
			return m_hasChanged;
		}
		
		public function set hasChanged(boolVal:Boolean):void
		{
			m_hasChanged = boolVal;
			SkillsAuditDocument.instance.dirtyForm = true;
		}
	}
}